Class MUPDUMessage

All Implemented Interfaces:
LTV

public class MUPDUMessage extends MultiUserMessage
This is a PDU message from PT.
  • Field Details

    • msgId

      public int msgId
    • linkId

      public int linkId
    • pdu

      public Signal pdu
  • Constructor Details

    • MUPDUMessage

      public MUPDUMessage()
      This function creates a PDU message for the MU protocol.
  • Method Details

    • getMessage

      public static MUPDUMessage getMessage(EncodedBuffer buffer)
      A deserialization function that creates a new message from a PtmpBuffer object.
      Parameters:
      buffer - The PtmpBuffer to get from
      Returns:
      A new instance of a MUPDUMessage class get from the buffer
    • encodeTypeAndPayload

      public void encodeTypeAndPayload(EncodedBuffer buffer)
      Serializes the message into a PtmpBuffer.
      Specified by:
      encodeTypeAndPayload in interface LTV
      Overrides:
      encodeTypeAndPayload in class LTVImpl
      Parameters:
      buffer - The PtmpBuffer to put the message into
    • toString

      public String toString()
      Converts this message into a string for debugging purposes
      Overrides:
      toString in class MultiUserMessage
      Returns:
      A string representation of this message